home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beginning Mac Programming
/
Beginning Mac Programming.bin
/
Open Me for REALbasic 3
/
REALbasic 3.2
/
Example Projects
/
Techniques
/
Examples by Thomas Tempelmann
/
TT's FileMgr-Plugin
/
Source Code (CW Pro 3)
/
Plugin SDK Includes
/
rb_plugin.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-24
|
2KB
|
42 lines
#include "REALplugin.h"
void REALRegisterMethod(REALmethodDefinition *defn);
void REALRegisterControl(REALcontrol *defn);
void REALLockString(REALstring str);
void REALUnlockString(REALstring str);
const char *REALCString(REALstring str);
const unsigned char *REALPString(REALstring str);
REALstring REALBuildString(const char *contents, int length);
REALpicture REALBuildPictureFromPicHandle(PicHandle pic, Boolean bPassOwnership);
REALpicture REALBuildPictureFromGWorld(GWorldPtr world, Boolean bPassOwnership);
REALfolderItem REALFolderItemFromFSSpec(const FSSpec *spec);
Boolean REALFSSpecFromFolderItem(FSSpec *spec, REALfolderItem item);
REALsound REALBuildSoundFromHandle(Handle sound, Boolean bPassOwnership);
REALappleEvent REALBuildAppleEvent(const AppleEvent *event, Boolean bPassOwnership);
REALappleEvent REALBuildAEDescList(const AppleEvent *event, Boolean bPassOwnership);
REALappleEvent REALBuildAEObjSpecifier(const AppleEvent *event, Boolean bPassOwnership);
AppleEvent *REALAccessAppleEvent(REALappleEvent event);
AppleEvent *REALAccessAppleEventReply(REALappleEvent event);
WindowPtr REALGetWindowHandle(REALwindow window);
ControlHandle REALGetControlHandle(REALcontrolInstance control);
MenuHandle REALGetPopupMenuHandle(REALpopupMenu popup);
void GraphicsDrawLine(Ptr graphicsObject, int x1, int y1, int x2, int y2);
void *REALGetControlData(REALcontrolInstance instance, REALcontrol *defn);
void REALGetControlBounds(REALcontrolInstance instance, Rect *rBounds);
void *REALGetEventInstance(REALcontrolInstance instance, REALevent *event);
void REALSelectGraphics(REALgraphics context);
#define ControlData(defn, instance, typeName, data) typeName *data = (typeName *) REALGetControlData(instance, &defn)